package xuegao.study.mall.repo.dao.pms;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import xuegao.study.mall.common.domain.portal.PromotionProduct;
import xuegao.study.mall.common.model.pms.PmsProduct;
import xuegao.study.mall.common.param.pms.PmsProductResult;

import java.util.List;

public interface PmsProductDao extends BaseMapper<PmsProduct> {

    PmsProductResult getUpdateInfo(@Param("id") Long id);

    int updateByPrimaryKeySelective(PmsProduct record);

    int delPmsProduct(@Param("id") Long id);

    List<PromotionProduct> getPromotionProductList(@Param("ids") List<Long> ids);
}
